 <template>
  <div>
    <el-dialog
      title="图片"
      width="90%"
      class="container"
      :fullscreen="booleanTrue"
      :center="booleanTrue"
      :visible.sync="dislogVisible"
      :before-close="handleClose"
    >
      <img class="imageStyle" :src="objectUrl" alt>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {
      booleanTrue: true
    };
  },
  props: ["objectUrl", "dislogVisible", "handleClose"]
};
</script>

<style lang="scss" scoped>
@import "src/style/mixin";
.imageStyle {
  display: block;
  width: 70%;
  min-height: 500px;
  margin: 0 auto;
}
</style>
